<template>

    <uv-modal
        title="需要登录-modal"
        ref="modallogin"
        :content="content"
        showCancelButton
        asyncClose
        @confirm="login"
        @cancel="cancel"
        @close="close"
    ></uv-modal>

</template>

<script>
    export default {
        name: 'tmpModal',
        methods: {
            showLogin() {
                this.$refs.modallogin.open();
            },
            login(){
                console.log('去登录')
                this.$refs.modallogin.close();
            }
        },
    }
  
</script>

<style scoped>

</style>
